package cn.blog.entity.origin;
/**
 * 评论实体类
 * @author 江明
 * @time 2018年3月11日
 * @function
 */

import java.sql.Date;

public class Commet {
	private Integer comId;//评论编号
	private Integer artId;//文章编号
	private Integer comPeopleId;//评论者编号
	private String comPeopleName;//评论者姓名
	private String comContext;//评论内容
	private Date comTime;//评论时间
	/**
	 * 无参构造
	 */
	public Commet() {
		super();
	}
	/**
	 * 有参构造
	 * @param comId	评论编号
	 * @param artId	文章编号
	 * @param comPeopleId	评论者编号
	 * @param comPeopleName	评论者姓名
	 * @param comContext	评论内容
	 * @param comTime	评论时间
	 */
	public Commet(Integer comId, Integer artId, Integer comPeopleId, String comPeopleName, String comContext,
			Date comTime) {
		super();
		this.comId = comId;
		this.artId = artId;
		this.comPeopleId = comPeopleId;
		this.comPeopleName = comPeopleName;
		this.comContext = comContext;
		this.comTime = comTime;
	}
	public Integer getComId() {
		return comId;
	}
	public void setComId(Integer comId) {
		this.comId = comId;
	}
	public Integer getArtId() {
		return artId;
	}
	public void setArtId(Integer artId) {
		this.artId = artId;
	}
	public Integer getComPeopleId() {
		return comPeopleId;
	}
	public void setComPeopleId(Integer comPeopleId) {
		this.comPeopleId = comPeopleId;
	}
	public String getComPeopleName() {
		return comPeopleName;
	}
	public void setComPeopleName(String comPeopleName) {
		this.comPeopleName = comPeopleName;
	}
	public String getComContext() {
		return comContext;
	}
	public void setComContext(String comContext) {
		this.comContext = comContext;
	}
	public Date getComTime() {
		return comTime;
	}
	public void setComTime(Date comTime) {
		this.comTime = comTime;
	}
	@Override
	public String toString() {
		return "Commet [comPeopleName=" + comPeopleName + "]";
	}
	
}
